<!DOCTYPE html>
<html style="min-height: 979px;"><head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
        <meta charset="UTF-8">
        <title>打样订单</title>
        <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
        <!-- bootstrap 3.0.2 -->
        <link href="%E6%89%93%E6%A0%B7%E8%AE%A2%E5%8D%95_files/bootstrap.css" rel="stylesheet" type="text/css">
        <!-- font Awesome -->
        <link href="%E6%89%93%E6%A0%B7%E8%AE%A2%E5%8D%95_files/font-awesome.css" rel="stylesheet" type="text/css">
        <!-- Ionicons -->
        <link href="%E6%89%93%E6%A0%B7%E8%AE%A2%E5%8D%95_files/ionicons.css" rel="stylesheet" type="text/css">
        <!-- Theme style -->
        <link href="%E6%89%93%E6%A0%B7%E8%AE%A2%E5%8D%95_files/AdminLTE.css" rel="stylesheet" type="text/css">

        <link href="%E6%89%93%E6%A0%B7%E8%AE%A2%E5%8D%95_files/myself.css" rel="stylesheet" type="text/css">
        <link rel="stylesheet" href="%E6%89%93%E6%A0%B7%E8%AE%A2%E5%8D%95_files/pagination.css">
        <link rel="stylesheet" type="text/css" href="%E6%89%93%E6%A0%B7%E8%AE%A2%E5%8D%95_files/bootstrap-select.css">
        <script type="text/javascript" src="%E6%89%93%E6%A0%B7%E8%AE%A2%E5%8D%95_files/jquery_003.js"></script>
        <script type="text/javascript" src="%E6%89%93%E6%A0%B7%E8%AE%A2%E5%8D%95_files/jquery_002.js"></script>
		
		
		
		<!--fullcalendar(新增)-->
		<link rel="stylesheet" type="text/css" href="../css/fullcalendar/fullcalendar.css"/>
       	<!--fullcalendar(新增)-->
		<script src="../js/plugins/fullcalendar/fullcalendar.js" type="text/javascript"></script>  
		
		
		
        <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
        <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
        <!--[if lt IE 9]>
          <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
          <script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
        <![endif]-->
		<style type="text/css">
			.user-header ul{
				margin-top: 20px; 
				margin-left: 5px;
			}
			.user-header ul li{
				color: rgba(255, 255, 255, 0.8);
				text-align: left; 
				margin-top: 20px;
				font-size: 17px;
			}
		</style>
    </head>
    <body class="skin-blue  pace-done" style="min-height: 979px;"><div class="pace  pace-inactive"><div class="pace-progress" style="width: 100%;" data-progress-text="100%" data-progress="99">
  <div class="pace-progress-inner"></div>
</div>
<div class="pace-activity"></div></div>
        <!-- header logo: style can be found in header.less -->
         <!-- header logo: style can be found in header.less -->
<header class="header">
	<a href="http://139.224.191.23/index.html" class="logo"> <img src="%E6%89%93%E6%A0%B7%E8%AE%A2%E5%8D%95_files/logo_03.jpg"> 后台管理系统
	</a>
	<!-- Header Navbar: style can be found in header.less -->
	<nav class="navbar navbar-static-top" role="navigation">
		<div class="navbar-right">
			<ul class="nav navbar-nav">
				<!-- Notifications: style can be found in dropdown.less -->
				<li class="dropdown notifications-menu" style="margin:0;">
					<a href="#" class="dropdown-toggle" data-toggle="dropdown"> 
						<i class="iconfont"></i> 设置
					</a>
				</li>
				<!-- User Account: style can be found in dropdown.less -->
				<li class="dropdown user user-menu" style="margin:0;"><a href="#" class="dropdown-toggle" data-toggle="dropdown"> <i class="glyphicon glyphicon-user"></i> <span><span id="name2">3dfsafttttt</span> <i class="caret"></i></span>
				</a>
					<ul class="dropdown-menu" style="padding: 0">

						<!-- User image -->
						<li class="user-header bg-light-blue">
							<ul class="pull-left" style="border:none;">
								<li id="email">账号：admin</li>
								<li id="name">姓名：3dfsafttttt</li>
								<li id="roleName">角色：设计总监</li>
							</ul>
						</li>
						<!-- Menu Footer-->
						<li class="user-footer">
							<div class="pull-left" style="border:none;">
								<a href="#" class="btn btn-default btn-flat change_btn">修改密码</a>
							</div>
							<div class="pull-right">
								<a id="exit" href="#" class="btn btn-default btn-flat">退出</a>
							</div>
						</li>
					</ul></li>
			</ul>
		</div>
	</nav>
</header>
<!--修改密码弹框-->
<img class="masking" src="%E6%89%93%E6%A0%B7%E8%AE%A2%E5%8D%95_files/mask.jpg" style="display: none;">
<div class="change_pw" style="display: none;">
	<img id="close" class="pull-right change_delet" src="%E6%89%93%E6%A0%B7%E8%AE%A2%E5%8D%95_files/close.png">
	<form id="passwordform" action="">
		<div class="old_pw">
			<div class="input-group">
				<span class="input-group-addon new_add">原密码</span> <input id="oldPassword" name="oldPassword" class="form-control" placeholder="请输入原密码" type="password">
			</div>
		</div>
		<div class="new_pw">
			<div class="input-group">
				<span class="input-group-addon">设置新密码</span> <input id="newPassword1" name="newPassword" class="form-control" placeholder="请输入新密码" type="password">
			</div>
			<div>密码由6~8位字母（字母区分大小写）和数字组成</div>
		</div>
		<div class="beSure_pw">
			<div class="input-group">
				<span class="input-group-addon">确认新密码</span> <input id="newPassword2" class="form-control" placeholder="请输入密码" type="password">
			</div>
			<div id="notSame">两次密码不一致</div>
		</div>
	</form>
	<div class="pull-right sure">
		<a id="updatePassword" href="#" class="btn btn-primary">确定</a> <a id="delete" href="#" class="btn btn-default">取消</a>
	</div>
</div>

<style type="text/css">
.user-header ul {
	margin-top: 5px;
	margin-left: 5px;
	padding: 0;
}

.user-header ul li {
	color: rgba(255, 255, 255, 0.8);
	text-align: left;
	margin-top: 20px;
	font-size: 17px;
	list-style: none;
}

.masking {
	width: 100%;
	height: 100%;
	position: fixed;
	top: 0;
	left: 0;
	opacity: 0.3;
	z-index: 2;
}

.change_pw {
	width: 400px;
	height: 300px;
	background: white;
	position: fixed;
	top: 50%;
	left: 50%;
	margin-left: -200px;
	margin-top: -150px;
	z-index: 3;
	border: 1px solid #bbb;
}

.new_pw, .old_pw, .beSure_pw {
	margin-top: 20px;
	margin-left: 10px;
}

.old_pw {
	margin-top: 40px;
}

.new_pw div:nth-child(2) {
	font-size: 14px;
	margin-left: 20px;
	margin-top: 5px;
	color: red;
}

.beSure_pw div:nth-child(2) {
	display: none; font-size : 14px;
	margin-left: 20px;
	margin-top: 5px;
	color: red;
	font-size: 14px;
}

.old_pw div {
	margin-left: 25px;
}

.change_pw .input-group {
	width: 90%;
}

.change_pw .input-group:nth-child(1) {
	margin-left: 10px;
}

.new_add {
	padding: 6px 27px;
}

.sure {
	margin-right: 15px;
}

.sure a {
	margin: 20px 10px 0 0;
}

.change_delet {
	margin: 10px 10px 0 0;
}

#delete {
	cursor: pointer;
}


/*新增样式  2016/12/01*/
.table{
	margin: 10px 0 10px;
}

.fc-header .fc-button {
    margin-right: -6px;
}
.Margin{
	margin-bottom: 10px;
}
</style>

<script src="%E6%89%93%E6%A0%B7%E8%AE%A2%E5%8D%95_files/jquery.js" type="text/javascript"></script>

<script type="text/javascript">
	$('.masking').hide();
	$('.change_pw').hide();

	$('.change_btn').click(function() {
		$('.change_pw').show();
		$('.masking').show();
	});
	$('#delete').click(function() {
		$('.change_pw').hide();
		$('.masking').hide();
		$("#notSame").hide();
		$('#passwordform')[0].reset();
	});
	$('#close').click(function() {
		$('.change_pw').hide();
		$('.masking').hide();
		$("#notSame").hide();
		$('#passwordform')[0].reset();
	});
	$('#exit').click(function(){
		window.location.href="http://139.224.191.23/scm/logout";
	})
	$('#newPassword1').focus(function(){
		$("#notSame").hide();
	});
	$('#newPassword2').focus(function(){
		$("#notSame").hide();
	});
	$(function(){
		//向服务端获取当前用户基本信息
		var url="http://139.224.191.23/scm/sysuser/getUser";
		$.ajax({
			"url":url,
			"type":"get",
			"dataType":"json",
			"success":function(result){
				if(result.head.respCode=="0000000"){
					$('#name2').html(result.body.name);
					$('#email').html("账号："+result.body.email);
					$('#name').html("姓名："+result.body.name);
					var roleName="角色：";
					for(var i=0;i<result.body.roleName.length;i++){
						roleName+=result.body.roleName[i]+"、";
					}
					roleName=roleName.substring(0,roleName.length-1);
					$('#roleName').html(roleName);
				}
			},
			/* "error":function(result){
				if(result.head.respCode=="9999990"){
           		 	alert(result.body);
           		 }
			} */
		});
		//修改密码
		$('#updatePassword').click(function(){
			if($('#newPassword1').val()==""||$('#newPassword2').val()==""||$('#oldPassword').val()==""){
				alert("密码不能为空");
				return;
			}
			//两次密码不一致
			if($('#newPassword1').val()!=$('#newPassword2').val()){
				$("#notSame").show();
				return;
			}
			var formData = new FormData($('#passwordform')[0]);
			url="http://139.224.191.23/scm/sysuser/updatePassword";
			$.ajax({
				url: url,
				type: "post",
				data: formData,
				dataType: "json",
				async: false,  
	            cache: false,  
	            contentType: false,  
	            processData: false,
				success: function(result){
					if(result.head.respCode=="0000000"){
						alert(result.body);
						if(result.body=="密码修改成功"){
							window.location.href="http://139.224.191.23/scm/logout";
						}
						$('#passwordform')[0].reset();
					}
				},
				"error": function(result){
					if(result.head.respCode=="9999990"){
		           		 alert(result.body);
		           		$('#passwordform')[0].reset();
		           	}
				}
			});
		});
	})
</script>        <div class="wrapper row-offcanvas row-offcanvas-left" style="min-height: 713px;">
            <!-- Left side column. contains the logo and sidebar -->
<aside class="left-side sidebar-offcanvas" style="min-height: 979px;">
                <!-- sidebar: style can be found in sidebar.less -->
                <section class="sidebar">
                    <!-- sidebar menu: : style can be found in sidebar.less -->
                    <ul class="sidebar-menu">
                     <li class="active">
                            <a href="http://139.224.191.23/scm/proofingorder/index">
                                <i class="fa fa-th"></i> <span>工作台</span>
                                <i class="fa fa-angle-right pull-right"></i>
                            </a>
                        </li>
                                                	 <li>
                            <a href="http://139.224.191.23/scm/designorder/list">
                                <i class="fa fa-th"></i> <span>设计订单</span>
                                <i class="fa fa-angle-right pull-right"></i>
                            </a>
                        </li>
                        	 <li>
                            <a href="http://139.224.191.23/scm/proofingorder/list">
                                <i class="fa fa-th"></i> <span>打样订单</span>
                                <i class="fa fa-angle-right pull-right"></i>
                            </a>
                        </li>
                        	 <li>
                            <a href="http://139.224.191.23/scm/productionorder/list">
                                <i class="fa fa-th"></i> <span>大货订单</span>
                                <i class="fa fa-angle-right pull-right"></i>
                            </a>
                        </li>
                        	 <li>
                            <a href="http://139.224.191.23/scm/hisgoryorder/list">
                                <i class="fa fa-th"></i> <span>历史订单</span>
                                <i class="fa fa-angle-right pull-right"></i>
                            </a>
                        </li>
                        	 <li>
                            <a href="http://139.224.191.23/scm/customer/list">
                                <i class="fa fa-th"></i> <span>客户管理</span>
                                <i class="fa fa-angle-right pull-right"></i>
                            </a>
                        </li>
                        	 <li>
                            <a href="http://139.224.191.23/scm/factory/list">
                                <i class="fa fa-th"></i> <span>工厂管理</span>
                                <i class="fa fa-angle-right pull-right"></i>
                            </a>
                        </li>
                        	 <li>
                            <a href="http://139.224.191.23/scm/designstore/list">
                                <i class="fa fa-th"></i> <span>设计库</span>
                                <i class="fa fa-angle-right pull-right"></i>
                            </a>
                        </li>
                        	 <li>
                            <a href="http://139.224.191.23/scm/sysuser/list">
                                <i class="fa fa-th"></i> <span>员工管理</span>
                                <i class="fa fa-angle-right pull-right"></i>
                            </a>
                        </li>
                        	 <li>
                            <a href="http://139.224.191.23/scm/operatelog/list">
                                <i class="fa fa-th"></i> <span>日志管理</span>
                                <i class="fa fa-angle-right pull-right"></i>
                            </a>
                        </li>
                        	 <li>
                            <a href="http://139.224.191.23/scm/sysrole/list">
                                <i class="fa fa-th"></i> <span>角色管理</span>
                                <i class="fa fa-angle-right pull-right"></i>
                            </a>
                        </li>
                    </ul>
                </section>
                <!-- /.sidebar -->
            </aside>
            <!-- Right side column. Contains the navbar and content of the page -->
           <aside class="right-side">
           	<section class="content-header" style="position: relative;">
                    <h1>打样订单</h1>
               		<div class="pull-right" style="position: absolute; top: 10px; right: 10px;">
                    	<button type="button" class="btn btn-primary">创建打样订单</button>
                   </div>
            </section>
            <section class="content">
            	<div class="row">
            		<div class="col-md-12">
            			<div class="box">
            				<div class="box-header find-box">
                            	<div class=" center clearfix">
					               <!--修改 2016/12/01-->
				                    <div id="calendar" class="fc fc-ltr">
				                		<table class="fc-header" style="width: 100%;">
				                			<tr>
				                				<td class="fc-header-lefts">
							                		<span class="tab_head" class="fc-button fc-button-month fc-state-default fc-corner-left fc-state-active" unselectable="on" style="-moz-user-select: none;">全部</span>
							                		<span class="tab_head" class="fc-button fc-button-agendaWeek fc-state-default" unselectable="on" style="-moz-user-select: none;">待打样（20）</span>
							                		<span class="tab_head" class="fc-button fc-button-agendaDay fc-state-default fc-corner-right" unselectable="on" style="-moz-user-select: none;">待制版（10）</span>
							                		<span class="tab_head" class="fc-button fc-button-agendaDay fc-state-default fc-corner-right" unselectable="on" style="-moz-user-select: none;">打样中（20）</span>
							                		<span class="tab_head" class="fc-button fc-button-agendaDay fc-state-default fc-corner-right" unselectable="on" style="-moz-user-select: none;">待报价（0）</span>
							                		<span class="tab_head" class="fc-button fc-button-agendaDay fc-state-default fc-corner-right" unselectable="on" style="-moz-user-select: none;">已完成（0）</span>
				                				</td>
				                			</tr>
				                		</table>
				                	</div>
				                	<!--修改-->
					               
					               
					              
					                <a href="###" class="red fr " style="color: red;">有五单已超期&gt;&gt;</a>
	            				</div>
                            	<div class="pull-left find-row" style="padding-left: 16px;">
                            		<div class="pull-left find-col">
                            			<label class="pull-left">
                            				<input placeholder="输入订单号" type="text">
                            			</label>
                            			<label class="pull-left">
                            				<input placeholder="输入公司名或简称" type="text">
                            			</label>
                            			<label class="pull-left">
                            				<select class="input-md" id="category" >
                                                <option value="" selected="selected">选择工厂</option>
                                                <option value="001">工厂1</option>
												<option value="002">工厂2</option>
												<option value="003">工厂3</option>
                                        	</select>
                            			</label>
                            			<label class="pull-left">
                            				<select class="input-md" id="level">
                                                <option value="" selected="selected">选择项目经理</option>
                                                <option value="001">李经理</option>
												<option value="002">王经理</option>
												<option value="003">周经理</option>
                                        	</select>
                            			</label>
                            			<label class="pull-left">
                            				<select class="input-md" id="level">
                                                <option value="" selected="selected">选择销售</option>
                                                <option value="001">销售1</option>
												<option value="002">销售2</option>
												<option value="003">销售3</option>
                                        	</select>
                            			</label>
                            			<div class="pull-left" style="margin-left: 5px;">
		                                    <button type="button" class="btn btn-primary">搜索</button>
                                		</div>
                            		</div>
                            	</div>
                            	
                            </div><!-- /.box-header -->
            				
            				
				            <div class="clearfix search-div center">
						       	<div class="clearfix"></div>
						       	<form action="#" method="get">
						           	<table class="table table-bordered text-center order-table">
						               	<tbody>
						                   	<tr>
						                       <th style="border: 0;" width="36%">客户信息</th>
						                       <th style="border: 0;" width="16%">打样数量</th>
						                       <th style="border: 0;" width="16%">工厂</th>
						                       <th style="border: 0;" width="16%">状态</th>
						                       <th style="border: 0;" width="16%">操作</th>
						                   	</tr>
						               	</tbody>
						           	</table>
						           	<div style="margin-bottom: 10px;">
                                		<span style="margin-right: 20px;">
                                			<div class="icheckbox_minimal" style="position: relative;" aria-checked="false" aria-disabled="false"><input style="position: absolute; opacity: 0;" type="checkbox"><ins class="iCheck-helper" style="position: absolute; top: 0%; left: 0%; display: block; width: 100%; height: 100%; margin: 0px; padding: 0px; background: rgb(255, 255, 255) none repeat scroll 0% 0%; border: 0px none; opacity: 0;"></ins></div>全选
                                		</span>
                                		<span style="margin-right: 10px;">批量安排工厂</span>
                                		<span>批量报价</span>
                                	</div>
                                	<table class="table table-bordered text-center order-list">
                                		<tbody><tr>
				                    		<td colspan="5" class="top-list">
				                    			<div class="pull">
				                    				<span class="pull-left" style="border: none;">
					                    				<span>
					                    					<div class="icheckbox_minimal" style="position: relative;" aria-checked="false" aria-disabled="false"><input style="position: absolute; opacity: 0;" type="checkbox"><ins class="iCheck-helper" style="position: absolute; top: 0%; left: 0%; display: block; width: 100%; height: 100%; margin: 0px; padding: 0px; background: rgb(255, 255, 255) none repeat scroll 0% 0%; border: 0px none; opacity: 0;"></ins></div>
					                    					2016/11/29
					                    				</span>&nbsp;&nbsp;&nbsp;
					                    				<span>订单号：20161127617354</span>
					                    			</span>
					                    			<span class="pull-right">
					                    				<span>客户交期：</span>
					                    				<span class="red">剩余2天</span>
					                    			</span>
				                    			</div>
				                    		</td>
				                    	</tr>
                                		<tr>
				                    		<td style="border: 0; width: 36%; text-align: left;">
				                    			<i class="iconfont fl"></i>
					                            <div class="order-text">
						                            <p>
							                            <span>杭州测试</span>
							                            <i class="iconfont"></i>
							                            <i class="iconfont"></i>
						                            </p>
						                            <p>产品分类：连衣裙 目标人群：18-28岁少女</p>
						                            <p><i class="iconfont"></i>
				                    				客户需求：要求做工精致，不差钱</p>
					                            </div>
				                    		</td>
				                    		<td style="border-bottom: 0; width: 16%;">4</td>
				                    		<td style="border-bottom: 0; width: 16%;"></td>
				                    		<td style="border-bottom: 0; width: 16%;" class="red">待打样</td>
				                    		<td style="border-bottom: 0; width: 16%;">订单详情</td>
				                    	</tr>
                                		<tr>
				                    		<td style="border: 0; padding-top: 0;" colspan="5">
				                    			<table class="table table-bordered text-center order-list">
				                    				<tbody><tr>
								                       	<td colspan="5" class="left-text">
								                       		<div class="icheckbox_minimal" style="position: relative;" aria-checked="false" aria-disabled="false"><input style="position: absolute; opacity: 0;" type="checkbox"><ins class="iCheck-helper" style="position: absolute; top: 0%; left: 0%; display: block; width: 100%; height: 100%; margin: 0px; padding: 0px; background: rgb(255, 255, 255) none repeat scroll 0% 0%; border: 0px none; opacity: 0;"></ins></div>
								                           	<span>子订单号：111111111111111111111</span>
								                       	</td>
								                   	</tr>
				                    				<tr>
				                    					<td style="width: 36%; text-align: left;">
							                    			<div class="style-content">
							                    				<span class="style-image">
								                    				<img src="" alt="款式图1">
								                    			</span>
								                    			<span class="style-number">
								                    				<div>设计编号：205058205820</div>
								                    				<div style="color: #bbb;">创建时间：2016/10/12&nbsp;12:30</div>
								                    			</span>
								                    			<div class="clear" style="clear: both;"></div>
							                    			</div>
							                    		</td>
							                    		<td style="width: 16%;">1</td>
							                    		<td style="width: 16%;"></td>
							                    		<td style="width: 16%;">待打样</td>
							                    		<td width=" 16%">
							                    			<button type="button" onclick="assignFactory(5);" class="btn btn-primary Margin">安排工厂</button>
							                    			<button type="button" onclick="window.location.href='../productionorder/create?orderId=16'" class="btn btn-primary">创建大货订单</button>
							                    		
							                    		
							                    		</td>	
				                    				</tr>
				                    			</tbody></table>
				                    		</td>
				                    	</tr>
                                		<tr>
				                    		<td style="border: 0; padding-top: 0;" colspan="5">
				                    			<table class="table table-bordered text-center order-list">
				                    				<tbody><tr>
								                       	<td colspan="5" class="left-text">
								                       		<div class="icheckbox_minimal" style="position: relative;" aria-checked="false" aria-disabled="false"><input style="position: absolute; opacity: 0;" type="checkbox"><ins class="iCheck-helper" style="position: absolute; top: 0%; left: 0%; display: block; width: 100%; height: 100%; margin: 0px; padding: 0px; background: rgb(255, 255, 255) none repeat scroll 0% 0%; border: 0px none; opacity: 0;"></ins></div>
								                           	<span>子订单号：111111111111111111111</span>
								                       	</td>
								                   	</tr>
				                    				<tr>
				                    					<td style="width: 36%; text-align: left;">
							                    			<div class="style-content">
							                    				<span class="style-image">
								                    				<img src="" alt="款式图1">
								                    			</span>
								                    			<span class="style-number">
								                    				<div>设计编号：205058205820</div>
								                    				<div style="color: #bbb;">创建时间：2016/10/12&nbsp;12:30</div>
								                    			</span>
								                    			<div class="clear" style="clear: both;"></div>
							                    			</div>
							                    		</td>
							                    		<td style="width: 16%;">1</td>
							                    		<td style="width: 16%;"></td>
							                    		<td style="width: 16%;">待打样</td>
							                    		<td width="16%">
							                    			<button type="button" onclick="assignFactory(6);" class="btn btn-primary Margin">安排工厂</button>
							                    			<button type="button" onclick="window.location.href='../productionorder/create?orderId=16'" class="btn btn-primary">创建大货订单</button>
							                    		
							                    		
							                    		</td>	
				                    				</tr>
				                    			</tbody></table>
				                    		</td>
				                    	</tr>
						       		</tbody></table>
						       	</form>
						       	<div class="pull-left">
                            		<span style="margin-right: 20px;">
                            			<div class="icheckbox_minimal" style="position: relative;" aria-checked="false" aria-disabled="false"><input style="position: absolute; opacity: 0;" type="checkbox"><ins class="iCheck-helper" style="position: absolute; top: 0%; left: 0%; display: block; width: 100%; height: 100%; margin: 0px; padding: 0px; background: rgb(255, 255, 255) none repeat scroll 0% 0%; border: 0px none; opacity: 0;"></ins></div>全选
                            		</span>
                            		<span style="margin-right: 10px;">批量安排工厂</span>
                            		<span>批量报价</span>
                                </div>
                                
                                
                                <!--修改 2016/12/01-->
							    <div class="box-footer ">
									<ul class="pagination pagination-sm no-margin pull-right">
										 <li><a href="http://139.224.191.23/scm/factory/list?pageNo=1">首页</a></li><li><a href="#">上一页</a></li><li><a href="javascript:;" style="padding: 0;"><input value="1" style="border: none; border-bottom: 1px solid #ccc; padding: 4.5px 0; width: 40px;" type="text"></a></li><li><a href="#">下一页</a></li><li><a href="#">总1页</a></li><li><a href="#">尾页</a></li>
									</ul>
								</div>
								<!--修改 2016/12/01-->
								
								
				           	</div>
            			</div>
            		</div>
            	</div>
            </section>
            </aside><!-- /.right-side -->
            
            <!--报价弹框-->
            <div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
				<div class="modal-dialog">
					<div class="modal-content">
						<div class="modal-header">
							<button type="button" class="close" data-dismiss="modal" aria-hidden="true">
								×
							</button>
							<h4 class="modal-title" id="myModalLabel">
								报价
							</h4>
						</div>
						<div class="modal-body">
							<div class="tk_content tk_head">
			            		<div class="text">成本价</div>
			            		<div>
			            			<input value="￥" type="text">
			            		</div>
			            	</div>
			            	<div class="tk_content tk_mid">
			            		<span class="pull-left">
			            			<div class="text">最低销售价</div>
			            			<div>
				            			<input value="￥" type="text">
				            		</div>
			            		</span>
			            		<span>~</span>
			            		<span style="width: 45%;" class="pull-right">
			            			<div class="text">建议零售价</div>
			            			<div>
				            			<input value="￥" placeholder="1000" type="text">
				            		</div>
			            		</span>
			            	</div>
						</div>
						<div class="modal-footer">
							<button type="button" class="btn btn-primary">确定
							</button>
							<button type="button" class="btn btn-default" data-dismiss="modal">
								取消
							</button>
						</div>
					</div><!-- /.modal-content -->
				</div><!-- /.modal -->
			</div> 
			<!--安排工廠-->
            <div class="modal fade" id="factory" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
				<div class="modal-dialog">
					<div class="modal-content">
						<div class="modal-header">
							<button type="button" class="close" data-dismiss="modal" aria-hidden="true">
								×
							</button>
							<h4 class="modal-title" id="myModalLabel">
								安排工厂
							</h4>
						</div>
						<div class="modal-body">
							<div class="tk_content tk_head">
			            			    <div class="btn-group bootstrap-select show-tick form-control"><button type="button" class="btn dropdown-toggle bs-placeholder btn-default" data-toggle="dropdown" role="button" data-id="factoryId" title="请选择"><span class="filter-option pull-left">请选择</span>&nbsp;<span class="bs-caret"><span class="caret"></span></span></button><div class="dropdown-menu open" role="combobox"><div class="bs-searchbox"><input class="form-control" autocomplete="off" role="textbox" aria-label="Search" type="text"></div><ul class="dropdown-menu inner" role="listbox" aria-expanded="false"><li data-original-index="0" class="selected"><a tabindex="0" class="" data-tokens="null" role="option" aria-disabled="false" aria-selected="true"><span class="text">请选择</span><span class="glyphicon glyphicon-ok check-mark"></span></a></li><li data-original-index="1"><a tabindex="0" class="" data-tokens="null" role="option" aria-disabled="false" aria-selected="false"><span class="text">新建测试工厂</span><span class="glyphicon glyphicon-ok check-mark"></span></a></li><li data-original-index="2"><a tabindex="0" class="" data-tokens="null" role="option" aria-disabled="false" aria-selected="false"><span class="text">余杭制衣厂</span><span class="glyphicon glyphicon-ok check-mark"></span></a></li><li data-original-index="3"><a tabindex="0" class="" data-tokens="null" role="option" aria-disabled="false" aria-selected="false"><span class="text">时尚秀服有限公司</span><span class="glyphicon glyphicon-ok check-mark"></span></a></li></ul></div><select id="factoryId" class="selectpicker show-tick form-control" data-live-search="true" tabindex="-98">  
                        <option selected="selected" value="">请选择</option> 
                        <option value="57">新建测试工厂</option>  
                        <option value="50">余杭制衣厂</option>  
                        <option value="56">时尚秀服有限公司</option>  
                         
                    </select></div> 
                    <input id="proofingPatternId" type="hidden">
			            	</div>
			            	
						</div>
						<div class="modal-footer">
							<button type="button" onclick="assignFactoryFunc()" class="btn btn-primary">确定
							</button>
							<button type="button" class="btn btn-default" data-dismiss="modal">
								取消
							</button>
						</div>
					</div><!-- /.modal-content -->
				</div><!-- /.modal -->
			</div>
        </div><!-- ./wrapper -->
        <!-- jQuery 2.0.2 -->
        <style type="text/css">
        	.modal-dialog {
			    width: 400px;
			}
        	.modal-content input{
        		border: 1px solid #ccc;
        		padding: 8px 6px;
        	}
        	.tk_content, .tk_title{
        		margin-top: 10px;
        		margin-left: 10px;
        	}
        	.tk_mid span:nth-child(1){
        		width: 45%;
        	}
        	.tk_mid span:nth-child(2){
        		width: 10%; 
        		margin-top: 20px;
        		display: inline-block;
        		font-size: 20px;
        	}
        	.modal-title{
        		font-size: 16px;
        	}
        	.text{
        		margin-bottom: 5px;
        		font-size: 14px;
        	}
        	.new_pw, .old_pw, .beSure_pw{
        		margin-top: 20px;
        	}
        	.new_pw div:nth-child(2){
        		font-size: 14px;
        		margin-left: 20px;
        		margin-top: 5px;
        		color: red;
        	}
        	.new_add{
        		padding: 6px 27px;
        	}
        	.change_pw .input-group:nth-child(1){
        		margin-left: 10px;
        	}
        	
		</style>
        
        <script src="%E6%89%93%E6%A0%B7%E8%AE%A2%E5%8D%95_files/jquery.js" type="text/javascript"></script>
        <!-- Bootstrap -->
        <script src="%E6%89%93%E6%A0%B7%E8%AE%A2%E5%8D%95_files/bootstrap.js" type="text/javascript"></script>
        <!-- AdminLTE App -->
        <script src="%E6%89%93%E6%A0%B7%E8%AE%A2%E5%8D%95_files/app.js" type="text/javascript"></script>
        <script type="text/javascript" src="%E6%89%93%E6%A0%B7%E8%AE%A2%E5%8D%95_files/bootstrap-select.js"></script> 
        <script type="text/javascript">
	        function assignFactory(id){
	        	
	        	$("#proofingPatternId").val(id);
	        	$('#factory').modal({
	    			keyboard: true
	    		});
	        }
	        function assignFactoryFunc(){
	        	var factoryId = $("#factoryId").val();
	        	var id =$("#proofingPatternId").val();
	        	alert(factoryId)
	        	$.ajax({
	                type: "POST",
	                dataType: "json",
	                url: "saveAssignFactory",
	                data: {id:id,factoryId:factoryId},
	                success : function(map) {  
		                if(map.body=="success"){
		                	alert("保存成功");
		                	window.location.href="list";
		                }else{
		                	alert(map.body);
		                }
		            },  
		            error : function(map) {  
		                alert("出现错误，请刷新页面");  
		            }  
	
	            });
	        }
	        
	        
	        alert($('#tab_head').length);
	       	for(var i = 0; i < $('#tab_head').length; i ++) {
	       		
	       	}
	       	
	       	
	       	
	       	
	       	
	       	
	       	
        </script>
     
    


<script src="%E6%89%93%E6%A0%B7%E8%AE%A2%E5%8D%95_files/t.js" charset="utf-8"></script></body></html>